package com.tbq.game.service.http

import com.yanzhenjie.kalle.simple.SimpleResponse

interface OnHttpListener<T> {
    fun onSuccess(response: SimpleResponse<T, String>?, data: T?)

    fun onFailed( e: Exception?){
    }

    fun onStart(){
    }
    fun onCancel() {

    }
    fun onFinish(){
    }

    fun onSaveLog( response: SimpleResponse<T, String>?, data: T?){
    }
}